# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-virtualjaguar
pkgver=0_git20220304
pkgrel=0
_commit="263c979be4ca757c43fb525bd6f0887998e57041"
pkgdesc="port of Virtual Jaguar to Libretro"
url="https://github.com/libretro/virtualjaguar-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/virtualjaguar-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/virtualjaguar-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 virtualjaguar_libretro.so "$pkgdir"/usr/lib/libretro/virtualjaguar_libretro.so
}

sha512sums="
7c6d47e5e4cc0d34c7521a0cb64ce8e663f02c941051475b34da21df5f9b18f4b302f86925770665fbebcadd1227dfdd4ef02c3591798dee02ac2747c93bb650  libretro-virtualjaguar-263c979be4ca757c43fb525bd6f0887998e57041.tar.gz
"
